package com.shopping.service;

import com.shopping.pojo.Orders;
import com.shopping.pojo.vo.OrdersInfo;

import java.util.List;

public interface OrdersService {
    public List<OrdersInfo> selectOrdersByQuery(String orderId, String userName, int start, int limit);
    public int getOrdersNum(String orderId, String userName);
    public List<OrdersInfo> selectOrdersInfoByBusinessId(String businessId,String orderId);
    public List<OrdersInfo> selectOrdersByUserId(Integer userId);
    public boolean insertOrder(Orders orders);
    public int selectIdByOrderId(String orderId);
    public OrdersInfo selectOrdersByOrderId(Integer id);

}
